import { request } from '@/utils/request'

export const getSwipers = () => {
  return request({
    method: 'get',
    url: '/home/swiper'
  })
}
export const getGroups = (area) => {
  return request.get('/home/groups', {
    params: {
      area
    }
  })
}

export const getNews = (area) => {
  return request.get('/home/news', {
    params: {
      area
    }
  })
}
